<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class LogisticsComSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $arr = file_get_contents(config('app.url') . "/uploads/com.json");

        DB::table('logistics_com')->insert(json_decode($arr, true)['result']);
    }
}
